const koa = require('koa')
//  引入路由
const upRouter = require('./router/upload')
const app = new koa()
// 使用路由
app.use(upRouter.routes()).use(upRouter.allowedMethods())
app.listen(8098, () => {
  console.log('server 文件上传')
})